package com.project.design.factory.methodFactory;

public class ConcreteFactoryOne implements AbstractFactory{

    @Override
    public Product newProduct() {
        System.out.println("具体工厂A生成-->具体产品A...");
        return new ConcreteProductOne();
    }
}
